package com.xyoto.takeawayUser.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @ClassName: 查询详情通用Dto参数封装
 * @Author: 挽风
 * @Date: 2022
 * @Copyright: 2022 by 挽风
 * @Description:
 **/

@ApiModel("查询详情通用Dto")
@Data
public class SelDetailDto {

    @ApiModelProperty("目标id（shopId、prodId...）")
    @NotEmpty(message = "id不能为空")
    private String targetId;
}
